package co.yixiang.modules.activity.vo;

import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName TopCountVo
 * @Author hupeng <610796224@qq.com>
 * @Date 2019/12/21
 **/
@Data
public class TopCountVo implements Serializable {
    private Integer lookCount;
    private Integer shareCount;
    private Integer userCount;

    TopCountVo(Integer lookCount, Integer shareCount, Integer userCount) {
        this.lookCount = lookCount;
        this.shareCount = shareCount;
        this.userCount = userCount;
    }

    public static TopCountVoBuilder builder() {
        return new TopCountVoBuilder();
    }


    public static class TopCountVoBuilder {
        private Integer lookCount;
        private Integer shareCount;
        private Integer userCount;

        TopCountVoBuilder() {
        }

        public TopCountVoBuilder lookCount(Integer lookCount) {
            this.lookCount = lookCount;
            return this;
        }

        public TopCountVoBuilder shareCount(Integer shareCount) {
            this.shareCount = shareCount;
            return this;
        }

        public TopCountVoBuilder userCount(Integer userCount) {
            this.userCount = userCount;
            return this;
        }

        public TopCountVo build() {
            return new TopCountVo(lookCount, shareCount, userCount);
        }

        public String toString() {
            return "TopCountVo.TopCountVoBuilder(lookCount=" + this.lookCount + ", shareCount=" + this.shareCount + ", userCount=" + this.userCount + ")";
        }
    }
}
